/**
 * 
 */
package com.chris.design.pattern.samples.factory;

/**
 * 抽象工厂模式 (工厂方法模式)
 *
 * @author shangpan
 *
 */
public class FactoryAppMain {

	public static void main(String[] args) {
		String cpuType = "amd";
		Cpu cpu = CpuFactory.cpuCreator(cpuType);
		cpu.calculate();
	}

}
